K2CrO4 = Widget.extend({
	runningAction:null,
	ctor:function(){
		this._super();
		this.init();
		this.setTag(TAG_K2CrO4_ALL);
	},
	init:function(){
		this.body = new Button(this, 10, TAG_K2CrO4, "#K2CrO4.png", this.callback,this);
		
		var lid=new Button(this.body,10,TAG_LID1,"#lid1.png",this.callback,this);
		lid.setPosition(cc.p(this.body.width*0.5,this.body.height*0.98));
	},
	callback:function(p){
		var func=cc.callFunc(function() {
			gg.flow.next();
		}, this);
		switch (p.getTag()) {
		case TAG_LID1:
			var ber=cc.bezierBy(1, [cc.p(-15,25),cc.p(-30, 50),cc.p(-65,-100)]);
			var rotate=cc.rotateBy(1,-180);
			p.runAction(cc.sequence(cc.spawn(ber,rotate),func));
			break;
		default:
			break;
		}
	}
});